/*************************************************************
 * File: Result.java
 * Copyright (c) 2012
 * Author: Huang Shaobin
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * Date: Feb 12, 2013
 * Description: 
 ************************************************************/

package snow.core.web;

import java.io.Serializable;

/**
 * 操作结果
 * 
 * @author Shaobin.Software@gmail.com Shaobin_Software@163.com
 * @version 1.0
 */
public class Result implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9044840983606387130L;
	
	private String code;
	private Object message;

	public Result(String code, Object message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return this.code;
	}

	public Object getMessage() {
		return this.message;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setMessage(Object message) {
		this.message = message;
	}

}
